package com.atguigu.common.exception;

/**
 * @Description :订单库存异常
 * @Author : mayp
 * @Date: 2021-01-10 21:53
 */
public class NoStockException extends RuntimeException{
    public NoStockException(Long skuId){
        super("商品id："+skuId+"：没有足够的库存了");
    }
    public NoStockException(String msg){
        super(msg);
    }
}
